package com.lk.lkappearance.model;

import java.io.Serializable;

/**
 * clicks
 * @author 
 */
public class Clicks implements Serializable {
    /**
     * 主键ID
     */
    private String clicksId;

    /**
     * 模块id
     */
    private String moduleId;

    /**
     * 点击数
     */
    private Integer clicksNumber;

    /**
     * 是否删除0否1是
     */
    private Integer deleteFlag;

    private static final long serialVersionUID = 1L;

    public String getClicksId() {
        return clicksId;
    }

    public void setClicksId(String clicksId) {
        this.clicksId = clicksId;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public Integer getClicksNumber() {
        return clicksNumber;
    }

    public void setClicksNumber(Integer clicksNumber) {
        this.clicksNumber = clicksNumber;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Clicks other = (Clicks) that;
        return (this.getClicksId() == null ? other.getClicksId() == null : this.getClicksId().equals(other.getClicksId()))
            && (this.getModuleId() == null ? other.getModuleId() == null : this.getModuleId().equals(other.getModuleId()))
            && (this.getClicksNumber() == null ? other.getClicksNumber() == null : this.getClicksNumber().equals(other.getClicksNumber()))
            && (this.getDeleteFlag() == null ? other.getDeleteFlag() == null : this.getDeleteFlag().equals(other.getDeleteFlag()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getClicksId() == null) ? 0 : getClicksId().hashCode());
        result = prime * result + ((getModuleId() == null) ? 0 : getModuleId().hashCode());
        result = prime * result + ((getClicksNumber() == null) ? 0 : getClicksNumber().hashCode());
        result = prime * result + ((getDeleteFlag() == null) ? 0 : getDeleteFlag().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", clicksId=").append(clicksId);
        sb.append(", moduleId=").append(moduleId);
        sb.append(", clicksNumber=").append(clicksNumber);
        sb.append(", deleteFlag=").append(deleteFlag);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}